package com.twu.biblioteca;


public class Books {
        private String name;
        private boolean reserved = false;


        public Books(String name) {
            this.name = name;
        }

        public void setReserved(boolean reserved) {
            this.reserved = reserved;
        }

        public boolean getReserved() {
            return reserved;
        }

        public String getName() {
            return name;
        }

        @Override
        public String toString(){
            return name;
        }
}
